/**
 * 剑指 Offer 14- I. 剪绳子
 * https://leetcode-cn.com/problems/jian-sheng-zi-lcof/
 */
public class Solutions_Offer_14_I {
    public static void main(String[] args) {
        int n = 2;  // output: 1 * 2 = 1
//        int n = 10;  // output: 3 * 3 * 4 = 36

        int result = cuttingRope(n);
        System.out.println(result);
    }

    public static int cuttingRope(int n) {
        return Solutions_343.integerBreak(n);
    }
}
